home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / laptop-mode / conf.d / cpufreq.conf < prev    next >
Text File  |  2008-10-24  |  3KB  |  78 lines

  1. #
  2. # Configuration file for Laptop Mode Tools module cpufreq.
  3. #
  4. # For more information, consult the laptop-mode.conf(8) manual page.
  5. #
  6.  
  7. ###############################################################################
  8. # CPU frequency scaling and throttling
  9. # ------------------------------------
  10. #
  11. # Laptop mode tools can automatically adjust your kernel CPU frequency
  12. # settings. This includes upper and lower limits and scaling governors.
  13. # There is also support for CPU throttling, on systems that don't support
  14. # frequency scaling.
  15. #
  16. # This feature only works on 2.6 kernels.
  17. #
  18. #
  19. # IMPORTANT: In versions 1.36 and earlier, these settings were included in the
  20. # main laptop-mode.conf configuration file. If they are still present, they
  21. # overrule the settings in this file. To fix this, simply delete the settings
  22. # from the main config file.
  23. #
  24. ###############################################################################
  25.  
  26.  
  27. #
  28. # Should laptop mode tools control the CPU frequency settings?
  29. #
  30. CONTROL_CPU_FREQUENCY=0
  31.  
  32.  
  33. #
  34. # Legal values are "slowest" for the slowest speed that your
  35. # CPU is able to operate at, "fastest" for the fastest speed,
  36. # "medium" for some value in the middle, or any value listed in
  37. # /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies.
  38. # The "governor" can be any governor installed on your system, this usually
  39. # includes "ondemand", "conservative", and "performance". The
  40. # "IGNORE_NICE_LOAD" setting specifies that background programs that have
  41. # a low priority ("nice level") should not cause the CPU frequency to
  42. # be increased. (You generally want this to be enabled in battery mode.)
  43. #
  44. BATT_CPU_MAXFREQ=fastest
  45. BATT_CPU_MINFREQ=slowest
  46. BATT_CPU_GOVERNOR=ondemand
  47. BATT_CPU_IGNORE_NICE_LOAD=1
  48. LM_AC_CPU_MAXFREQ=fastest
  49. LM_AC_CPU_MINFREQ=slowest
  50. LM_AC_CPU_GOVERNOR=ondemand
  51. LM_AC_CPU_IGNORE_NICE_LOAD=1
  52. NOLM_AC_CPU_MAXFREQ=fastest
  53. NOLM_AC_CPU_MINFREQ=slowest
  54. NOLM_AC_CPU_GOVERNOR=ondemand
  55. NOLM_AC_CPU_IGNORE_NICE_LOAD=0
  56.  
  57.  
  58. #
  59. # Should laptop mode tools control the CPU throttling? This is only useful
  60. # on processors that don't have frequency scaling.
  61. # (Only works when you have /proc/acpi/processor/CPU*/throttling.)
  62. #
  63. CONTROL_CPU_THROTTLING=0
  64.  
  65.  
  66. #
  67. # Legal values are "maximum" for the maximum (slowest) throttling level,
  68. # "minimum" for minimum (fastest) throttling level, "medium" for a value
  69. # somewhere in the middle (this is usually 50% for P4s), or any value listed
  70. # in /proc/acpi/processor/CPU*/throttling. Be careful when using "maximum":
  71. # this may be _very_ slow (in fact, with P4s it slows down the processor
  72. # by a factor 8).
  73. #
  74. BATT_CPU_THROTTLING=medium
  75. LM_AC_CPU_THROTTLING=medium
  76. NOLM_AC_CPU_THROTTLING=minimum
  77.  
  78.